/* Copyright (C) 2007 Ryan Capote
 * This file is apart of BlueEngine
 *  See Licsense.txt
 */


#ifndef LOG_H
#define LOG_H

#include <iostream>
#include <string>
#include <iosfwd>
#include <cstdarg>
#include <fstream>
#include <ctime>
#include <assert.h>

namespace BlueEngine
{

     namespace Utilities
     {

          class Logger
          {
          public: 

               Logger( std::string filename );
               ~Logger();

               // Write text to the log file with a timestamp
               void write( const std::string& text );

          private:

               // Set the log file to write to
               void setLog( std::string filename );

               std::ofstream m_logfile;

          };

     }

}

#endif


